type Props = {
  type: string
  className?: string
  onClick?: () => void
  ariaHidden?: 'true' | 'false'
}
export function Icon (props: Props) {
  return (
    <svg
      className={'icon ' + props.className}
      aria-hidden={props.ariaHidden || 'true'}>
      <use xlinkHref={'#' + props.type} />
    </svg>
  )
}
